<script>
	import Vue from 'vue'
	export default {
		onLaunch: function() {
			const extConfig = uni.getExtConfigSync ? uni.getExtConfigSync() : {};
			if(extConfig.appid){
				this.$config.appId = extConfig.appid;
			}
			/* #ifdef MP-WEIXIN */
			var music = wx.setInnerAudioOption({
			      obeyMuteSwitch: false,
			      success: function (res) {
			        console.log("开启静音模式下播放音乐的功能");
			      },
			      fail: function (err) {
			        console.log("静音设置失败");
			      }
			});
			/* #endif */
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/* #ifndef APP-PLUS-NVUE */
	@import url("./static/css/common.css");
	/* #endif */
</style>
